<section class="section-info">
  <div>select：{{ (lvTable.getRenderSelection() | userProp) || 'none' }}</div>
</section>

<lv-datatable [lvData]="data" #lvTable>
  <thead>
    <tr>
      <th width="40px" [class.lv-table-column-has-selection]="true"></th>
      <th>Id</th>
      <th>Name</th>
      <th>Age</th>
    </tr>
  </thead>
  <tbody>
    <tr *ngFor="let item of lvTable.renderData">
      <td>
        <label
          lv-radio
          [ngModel]="lvTable.isSelected(item)"
          [lvControl]="true"
          (click)="_radioSelect(item)"
          style="display: flex; align-items: center"
        ></label>
      </td>
      <td>{{ item.id }}</td>
      <td>{{ item.name }}</td>
      <td>{{ item.age }}</td>
    </tr>
  </tbody>
</lv-datatable>
